Skip to content

fix(studio): keep one minimum instance during deploy and update - #1068

Merged
yaozheng-fang merged 2 commits into
volcengine:mainfrom
evanlowe:fix/studio-min-instance-one-update
Sep 7, 2026
Merged

fix(studio): keep one minimum instance during deploy and update#1068
yaozheng-fang merged 2 commits into
volcengine:mainfrom
evanlowe:fix/studio-min-instance-one-update

Conversation

@evanlowe

@evanlowe evanlowe commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Summary\n\n- set the Studio VeFaaS minimum instance count to 1 during deploy and updates\n- apply the setting before a frontend self-update publishes its new revision, and stop the update if it cannot be applied\n- preserve the existing maximum instance count by omitting it from the resource update\n- add the required VeFaaS IAM permission for deployed Studio roles and the existing one-click authorization flow\n\n## Verification\n\n- ruff check...............................................................Passed

ruff format..............................................................Passed
Detect hardcoded secrets.................................................Passed\n- ============================= test session starts ==============================
platform darwin -- Python 3.12.11, pytest-9.1.1, pluggy-1.6.0
rootdir: /Users/bytedance/Projects/veadk-python-worktrees/studio-min-instance
configfile: pytest.ini
testpaths: tests
plugins: cov-7.1.0, xdist-3.8.0, asyncio-1.4.0, anyio-4.15.0
asyncio: mode=Mode.STRICT, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function
collected 3697 items / 2 skipped

tests/a2a/test_registry_client.py ......................... [ 0%]
tests/agent/test_agent_contract.py ..... [ 0%]
tests/agent/test_model_api_key_resolution.py ... [ 0%]
tests/agent/test_workflow_agent_contract.py ....... [ 1%]
tests/agent/test_workflow_execution.py ...s........... [ 1%]
tests/auth/test_credential_service.py .......... [ 1%]
tests/auth/test_oauth2_auth.py ......................................... [ 2%]
............. [ 3%]
tests/auth/veauth/test_apmplus_veauth.py ... [ 3%]
tests/auth/veauth/test_ark_veauth.py ......... [ 3%]
tests/auth/veauth/test_speech_veauth.py ... [ 3%]
tests/benchmarks/test_scheduler_500_due.py . [ 3%]
tests/cli/test_agentkit_runtime_iam.py ... [ 3%]
tests/cli/test_agentkit_sandbox_region.py ....... [ 3%]
tests/cli/test_cli_agentkit_harness_invoke.py ....... [ 4%]
tests/cli/test_cli_clean.py ... [ 4%]
tests/cli/test_cli_create.py ...... [ 4%]
tests/cli/test_cli_deploy.py . [ 4%]
tests/cli/test_cli_harness.py ... [ 4%]
tests/cli/test_cli_harness_open_source_defaults.py ... [ 4%]
tests/cli/test_cli_harness_registry.py .... [ 4%]
tests/cli/test_codex_app_server.py ..................................... [ 5%]
....... [ 5%]
tests/cli/test_frontend_agent_proxy.py ................ [ 6%]
tests/cli/test_frontend_apmplus_trace.py ........... [ 6%]
tests/cli/test_frontend_branding.py ........... [ 6%]
tests/cli/test_frontend_coding_agents.py .............. [ 7%]
tests/cli/test_frontend_deploy_errors.py ................ [ 7%]
tests/cli/test_frontend_deploy_iam.py ............ [ 8%]
tests/cli/test_frontend_deploy_iam_vestack.py .. [ 8%]
tests/cli/test_frontend_evaluation_feedback.py .............. [ 8%]
tests/cli/test_frontend_invocation.py ......... [ 8%]
tests/cli/test_frontend_issue_feedback.py ............ [ 9%]
tests/cli/test_frontend_runtime_proxy.py ............................... [ 9%]
.................................... [ 10%]
tests/cli/test_frontend_sandbox.py ..................................... [ 11%]
.................................................................. [ 13%]
tests/cli/test_frontend_sandbox_options.py ........... [ 13%]
tests/cli/test_frontend_sandbox_proxy.py ........ [ 14%]
tests/cli/test_frontend_skill_creator.py ..................... [ 14%]
tests/cli/test_frontend_skill_spaces.py ................... [ 15%]
tests/cli/test_frontend_trace.py ...... [ 15%]
tests/cli/test_frontend_video_env.py .. [ 15%]
tests/cli/test_generated_agent_backend_codegen.py ...................... [ 16%]
....................................................................... [ 17%]
tests/cli/test_generated_agent_backend_codegen_extended.py ............. [ 18%]
.......................................... [ 19%]
tests/cli/test_generated_agent_component_matrix.py ..................... [ 19%]
........................................... [ 21%]
tests/cli/test_generated_agent_harness_sidecar.py ....... [ 21%]
tests/cli/test_generated_agent_mcp.py ... [ 21%]
tests/cli/test_generated_agent_planner.py ........sss [ 21%]
tests/cli/test_generated_agent_request_models.py . [ 21%]
tests/cli/test_github_cicd.py ............................. [ 22%]
tests/cli/test_legacy_runtime_recovery.py .............................. [ 23%]
.............. [ 23%]
tests/cli/test_managed_sidecar_source.py .......... [ 23%]
tests/cli/test_runtime_update_recovery.py ............ [ 24%]
tests/cli/test_studio_account_id.py .... [ 24%]
tests/cli/test_studio_artifacts.py ...... [ 24%]
tests/cli/test_studio_companion.py ......................... [ 25%]
tests/cli/test_studio_deploy_permissions.py .............. [ 25%]
tests/cli/test_studio_deploy_serverless_iam.py ........ [ 25%]
tests/cli/test_studio_deploy_target.py ................................. [ 26%]
.................. [ 27%]
tests/cli/test_studio_environment_deploy_flags.py .......... [ 27%]
tests/cli/test_studio_offline_runtime.py ............. [ 27%]
tests/cli/test_studio_rbac.py .......................................... [ 28%]
........................................................................ [ 30%]
... [ 31%]
tests/cli/test_studio_release.py ................................. [ 31%]
tests/cli/test_studio_sandbox_tools.py ................................. [ 32%]
.. [ 32%]
tests/cli/test_studio_sandbox_updates.py ........... [ 33%]
tests/cli/test_studio_self_update.py ................................... [ 34%]
........ [ 34%]
tests/cli/test_studio_sidecar_prerequisites.py .......... [ 34%]
tests/cli/test_studio_telemetry.py . [ 34%]
tests/cli/test_studio_update.py ................................... [ 35%]
tests/cli/test_studio_update_permissions.py ........ [ 35%]
tests/cli/test_studio_vpc_network.py .... [ 35%]
tests/cli/test_vestack_studio_deploy.py ............ [ 36%]
tests/cli/test_vestack_studio_image.py ... [ 36%]
tests/cloud/test_harness_app_contract.py ............................... [ 37%]
................................... [ 38%]
tests/cloud/test_harness_app_http.py ............ [ 38%]
tests/cloud/test_harness_enhance_env.py .. [ 38%]
tests/cloud/test_harness_plugins.py .... [ 38%]
tests/cloud/test_harness_skill_download.py .... [ 38%]
tests/config/test_model_config.py ..... [ 38%]
tests/config/test_tracing_config.py ... [ 38%]
tests/extensions/harness/sidecar_runtime/test_component_catalog.py ..... [ 39%]
...... [ 39%]
tests/extensions/harness/sidecar_runtime/test_deploy.py ....... [ 39%]
tests/extensions/harness/sidecar_runtime/test_failover_proxy.py . [ 39%]
tests/extensions/harness/sidecar_runtime/test_mcp_client.py .. [ 39%]
tests/extensions/harness/sidecar_runtime/test_mcp_loopback_proxy.py .. [ 39%]
tests/extensions/harness/sidecar_runtime/test_mcp_upstream_proxy.py .. [ 39%]
tests/extensions/harness/sidecar_runtime/test_sidecar.py .............. [ 39%]
tests/extensions/harness/sidecar_runtime/test_sidecar_config.py ........ [ 40%]
................................ [ 41%]
tests/extensions/harness/test_backward_compat.py .. [ 41%]
tests/extensions/harness/test_content_adapter.py .. [ 41%]
tests/extensions/harness/test_context_engine.py ..... [ 41%]
tests/extensions/harness/test_env.py ... [ 41%]
tests/extensions/harness/test_extension.py ...... [ 41%]
tests/extensions/harness/test_headroom_provider.py ..... [ 41%]
tests/extensions/harness/test_package_metadata.py . [ 41%]
tests/extensions/harness/test_result_verifier.py ........... [ 41%]
tests/extensions/harness/test_runner_plugins.py ......... [ 42%]
tests/extensions/harness/test_sidecar_public_api.py ................. [ 42%]
tests/extensions/harness/test_sidecar_wheel.py ... [ 42%]
tests/extensions/harness/test_studio_sidecar.py .......... [ 43%]
tests/extensions/harness/test_tool_compressor.py ..... [ 43%]
tests/frontend/server/agent_usage/test_agent_usage_repository.py .... [ 43%]
tests/frontend/server/agent_usage/test_agent_usage_service_routes.py ... [ 43%]
....... [ 43%]
tests/frontend/server/artifacts/test_artifact_library.py .... [ 43%]
tests/frontend/server/cronjobs/test_cronjobs.py ........ [ 43%]
tests/frontend/server/environments/test_environment_share_codes.py ..... [ 44%]
....... [ 44%]
tests/frontend/server/environments/test_environment_source_contracts.py . [ 44%]
..... [ 44%]
tests/frontend/server/environments/test_environment_sources_backend.py . [ 44%]
.............. [ 44%]
tests/frontend/server/environments/test_environments.py ................ [ 45%]
...................................................... [ 46%]
tests/frontend/server/environments/test_session_mounts.py .............. [ 47%]
[ 47%]
tests/frontend/server/environments/test_tool_provisioning.py ........... [ 47%]
... [ 47%]
tests/frontend/server/evaluation_automation/test_datasets.py . [ 47%]
tests/frontend/server/evaluation_automation/test_models.py .. [ 47%]
tests/frontend/server/evaluation_automation/test_repository.py ..... [ 47%]
tests/frontend/server/evaluation_automation/test_routes.py .. [ 47%]
tests/frontend/server/evaluation_automation/test_scheduler.py .. [ 47%]
tests/frontend/server/evaluation_automation/test_service.py .... [ 47%]
tests/frontend/server/evaluation_automation/test_sse.py ....... [ 48%]
tests/frontend/server/model_catalog/test_model_catalog.py .............. [ 48%]
...... [ 48%]
tests/frontend/server/skills/test_skill_publish_storage.py ...... [ 48%]
tests/frontend/server/storage/test_provisioning.py ......... [ 48%]
tests/frontend/server/storage/test_studio_storage.py ..... [ 49%]
tests/frontend/server/storage/test_tos.py ..... [ 49%]
tests/frontend/server/studio_routes/test_studio_route_connector.py .. [ 49%]
tests/frontend/server/studio_routes/test_studio_route_registry.py .. [ 49%]
tests/frontend/server/studio_routes/test_studio_skill_catalog.py .... [ 49%]
tests/frontend/server/studio_tools/test_branch_compare.py ......... [ 49%]
tests/frontend/server/studio_tools/test_codex_sandbox.py ............. [ 50%]
tests/frontend/server/studio_tools/test_connector.py ......... [ 50%]
tests/frontend/server/studio_tools/test_extensions.py .... [ 50%]
tests/frontend/server/studio_tools/test_local.py ... [ 50%]
tests/frontend/server/studio_tools/test_registry.py ......... [ 50%]
tests/frontend/server/studio_tools/test_sandbox_shell.py ............... [ 51%]
....... [ 51%]
tests/frontend/server/studio_tools/test_veadk_builtin_tools.py ... [ 51%]
tests/frontend/server/test_agentkit_clients.py . [ 51%]
tests/frontend/server/test_deployment_resources.py ..................... [ 52%]
...... [ 52%]
tests/frontend/server/test_feishu_bot_setup.py ........... [ 52%]
tests/frontend/server/test_intelligent_development_projects.py ......... [ 52%]
...... [ 52%]
tests/frontend/server/test_intelligent_development_routes.py ........... [ 53%]
................................................. [ 54%]
tests/frontend/server/test_intelligent_development_source.py ........... [ 54%]
.......................................................... [ 56%]
tests/frontend/server/test_intelligent_development_task.py ............. [ 56%]
............................. [ 57%]
tests/frontend/server/test_migration_source_projects.py . [ 57%]
tests/frontend/server/test_runtime_logs.py ............ [ 57%]
tests/frontend/server/test_sandbox_remote.py ........................ [ 58%]
tests/frontend/server/test_studio_update_resources.py ........ [ 58%]
tests/frontend/server/video/test_video_routes.py .............. [ 59%]
tests/frontend/server/video/test_video_storage.py ... [ 59%]
tests/frontend/server/website_integration/test_tos_service.py .... [ 59%]
tests/frontend/server/website_integration/test_website_integration.py .. [ 59%]
............ [ 59%]
tests/frontend/server/workspaces/test_workspaces.py .. [ 59%]
tests/frontend/service/studio_scheduler/test_diagnostics.py . [ 59%]
tests/frontend/service/studio_scheduler/test_dispatcher.py ........... [ 60%]
tests/frontend/service/studio_scheduler/test_end_to_end.py . [ 60%]
tests/frontend/service/studio_scheduler/test_http_app.py ... [ 60%]
tests/frontend/service/studio_scheduler/test_local_entrypoint.py .. [ 60%]
tests/frontend/service/studio_scheduler/test_local_runner.py . [ 60%]
tests/frontend/service/studio_scheduler/test_runtime_provider.py ...... [ 60%]
tests/frontend/service/studio_scheduler/test_schedule.py .... [ 60%]
tests/frontend/service/studio_scheduler/test_scheduler_deploy.py ..... [ 60%]
tests/frontend/service/studio_scheduler/test_tos_repository.py ...... [ 60%]
tests/frontend/test_deployment_source.py ............................... [ 61%]
........ [ 61%]
tests/frontend/test_knowledge_service.py ............................... [ 62%]
................................. [ 63%]
tests/frontend/test_knowledge_uploads.py ............................... [ 64%]
...................................... [ 65%]
tests/frontend/test_knowledge_web_import.py ............................ [ 66%]
....... [ 66%]
tests/frontend/test_migration_contracts.py ......... [ 66%]
tests/frontend/test_migration_gateway_edges.py ............. [ 67%]
tests/frontend/test_migration_routes.py ....... [ 67%]
tests/frontend/test_migration_server.py ................................ [ 68%]
........................................................................ [ 70%]
.................... [ 70%]
tests/frontend/test_migration_service_edges.py ......................... [ 71%]
.. [ 71%]
tests/frontend/test_skill_repair.py ... [ 71%]
tests/frontend/test_skills_server.py ................................... [ 72%]
.. [ 72%]
tests/integrations/agentkit/evaluation/test_client.py .......... [ 72%]
tests/integrations/agentkit/evaluation/test_feedback.py ... [ 72%]
tests/integrations/agentkit/test_app.py .................... [ 73%]
tests/integrations/agentkit/test_studio_channel.py ................ [ 73%]
tests/integrations/agentkit/test_studio_routes.py .......... [ 73%]
tests/integrations/test_ve_apig_vestack.py ......... [ 74%]
tests/integrations/test_ve_faas_image.py . [ 74%]
tests/memory/long_term_memory_backends/test_tos_context_bucket_backend.py . [ 74%]
.............. [ 74%]
tests/memory/test_postgres_schema.py .......... [ 74%]
tests/models/test_ark_llm_context_management.py . [ 74%]
tests/models/test_ark_llm_fallbacks.py .... [ 75%]
tests/models/test_ark_llm_input_conversion.py .... [ 75%]
tests/multimodal/test_api.py ... [ 75%]
tests/multimodal/test_plugin.py .......... [ 75%]
tests/multimodal/test_storage.py ........ [ 75%]
tests/multimodal/test_transport.py .... [ 75%]
tests/plugins/test_codex_sandbox_upload.py ............................. [ 76%]
.... [ 76%]
tests/realtime/test_doubao_realtime_client.py ...... [ 76%]
tests/realtime/test_doubao_realtime_voice_llm.py ....... [ 77%]
tests/realtime/test_doubao_realtime_voice_llm_connection.py .... [ 77%]
tests/realtime/test_live.py ... [ 77%]
tests/realtime/test_protocol.py ........ [ 77%]
tests/runner/test_runner_contract.py ....... [ 77%]
tests/runtime/codex/test_codex_runtime.py ....................... [ 78%]
tests/runtime/codex/test_codex_runtime_smoke.py s [ 78%]
tests/runtime/codex/test_codex_shim_rounds.py ........................ [ 78%]
tests/runtime/codex/test_codex_tracing.py . [ 78%]
tests/runtime/codex/test_codex_turn_contract.py ......... [ 79%]
tests/runtime/differential/test_parity_harness.py ...................... [ 79%]
.. [ 79%]
tests/runtime/differential/test_runtime_parity.py ...........xx......... [ 80%]
... [ 80%]
tests/runtime/piagent/test_piagent_runtime.py .......................... [ 81%]
............................. [ 82%]
tests/runtime/piagent/test_piagent_runtime_smoke.py s [ 82%]
tests/runtime/piagent/test_piagent_turn_contract.py .......... [ 82%]
tests/runtime/test_agent_transfer.py ... [ 82%]
tests/runtime/test_dispatch_runtime_provider.py .... [ 82%]
tests/runtime/test_model_callbacks.py ...... [ 82%]
tests/runtime/test_output_state.py ........... [ 82%]
tests/runtime/test_self_host_sandbox_agent.py ... [ 83%]
tests/runtime/test_self_host_sandbox_client.py .... [ 83%]
tests/skills/test_adk_skill_materializer.py ............ [ 83%]
tests/skills/test_adk_skill_registry.py ..... [ 83%]
tests/skills/test_agent_adk_skill_toolset.py ... [ 83%]
tests/test_adk_compat.py ........... [ 84%]
tests/test_adk_compat_regression.py ..............................s..... [ 84%]
.......... [ 85%]
tests/test_adk_sync_tool_thread_pool_patch.py ..... [ 85%]
tests/test_agent.py ............... [ 85%]
tests/test_agent_metadata.py ... [ 85%]
tests/test_cloud.py ............................. [ 86%]
tests/test_evaluator.py .. [ 86%]
tests/test_feishu_channel_extension.py ........ [ 86%]
tests/test_knowledgebase.py . [ 86%]
tests/test_llm_attributes_extractors.py .......... [ 87%]
tests/test_long_term_memory.py ............... [ 87%]
tests/test_milvus_knowledge_backend.py ............... [ 88%]
tests/test_multiple_agents.py . [ 88%]
tests/test_openviking_knowledgebase.py ............................. [ 88%]
tests/test_openviking_long_term_memory.py .............................. [ 89%]
.. [ 89%]
tests/test_pdf_to_images.py ... [ 89%]
tests/test_portal_metrics.py ....... [ 89%]
tests/test_runner.py . [ 90%]
tests/test_runtime_data_collecting.py . [ 90%]
tests/test_short_term_memory.py ..... [ 90%]
tests/test_studio_release_lock_contract.py . [ 90%]
tests/test_studio_release_server.py .................................... [ 91%]
................................ [ 92%]
tests/test_tracing.py ................... [ 92%]
tests/test_tracing_content.py ............. [ 92%]
tests/test_ve_a2a_middlewares.py .......... [ 93%]
tests/test_ve_identity_auth_config.py ................. [ 93%]
tests/test_ve_identity_function_tool.py .......... [ 93%]
tests/test_ve_identity_mcp_tool.py ...... [ 94%]
tests/test_ve_identity_mcp_toolset.py ........... [ 94%]
tests/test_ve_tos.py ................ [ 94%]
tests/test_vikingdb_knowledge_backend.py .......... [ 95%]
tests/test_vikingdb_memory_backend.py .......... [ 95%]
tests/tools/builtin_tools/create_agent/test_create_agent_toolset.py .... [ 95%]
.......................... [ 96%]
tests/tools/builtin_tools/create_agent/test_resource_sources.py ........ [ 96%]
...... [ 96%]
tests/tools/builtin_tools/test_agentkit.py .............. [ 96%]
tests/tools/builtin_tools/test_invoke_poll_skill.py ...... [ 97%]
tests/tools/builtin_tools/test_load_knowledgebase.py .... [ 97%]
tests/tools/builtin_tools/test_remote_skills.py ...... [ 97%]
tests/tools/builtin_tools/test_run_code.py ................. [ 97%]
tests/tools/builtin_tools/test_run_sandbox_agent.py .................... [ 98%]
[ 98%]
tests/tools/builtin_tools/test_tts.py ..... [ 98%]
tests/tools/builtin_tools/test_web_fetch_contract.py .... [ 98%]
tests/tools/mcp_tool/test_trusted_mcp_components.py ..... [ 98%]
tests/tools/test_builtin_registry_contract.py ................. [ 99%]
tests/tools/test_ppt_generate.py ... [ 99%]
tests/tools/test_web_search_byteplus.py .. [ 99%]
tests/tunnel/test_tunnel_contract.py .............. [ 99%]
tests/utils/test_mcp_session_retry.py ......... [ 99%]
tests/utils/test_volcengine_sign.py .. [100%]

=============================== warnings summary ===============================
veadk/auth/middleware/oauth2_auth.py:96
/Users/bytedance/Projects/veadk-python-worktrees/studio-min-instance/veadk/auth/middleware/oauth2_auth.py:96: AuthlibDeprecationWarning: authlib.jose module is deprecated, please use joserfc instead.
It will be compatible before version 2.0.0.
from authlib.jose import JsonWebKey, jwt

tests/cli/test_frontend_trace.py::test_build_graph_serializes_veadk_agent_model
/Users/bytedance/Projects/veadk-python-worktrees/studio-min-instance/.venv/lib/python3.12/site-packages/google/adk/cli/fast_api.py:104: PendingDeprecationWarning: Please use import python_multipart instead.
import multipart

tests/cli/test_studio_rbac.py::test_system_info_lists_configured_sandbox_tool_ids
/Users/bytedance/Projects/veadk-python-worktrees/studio-min-instance/.venv/lib/python3.12/site-packages/tos/utils.py:1034: DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead
t.setDaemon(True)

tests/cli/test_studio_rbac.py::test_system_info_lists_configured_sandbox_tool_ids
tests/cli/test_studio_rbac.py::test_system_info_lists_configured_sandbox_tool_ids
tests/cli/test_studio_rbac.py::test_system_info_lists_configured_sandbox_tool_ids
tests/cli/test_studio_rbac.py::test_system_info_prefetches_codex_model_env_state_on_startup
tests/cli/test_studio_rbac.py::test_system_info_prefetches_codex_model_env_state_on_startup
tests/cli/test_studio_rbac.py::test_system_info_prefetches_codex_model_env_state_on_startup
tests/cli/test_studio_rbac.py::test_system_info_prefetch_hides_get_tool_failures_but_reports_error_code
tests/cli/test_studio_rbac.py::test_system_info_prefetch_hides_get_tool_failures_but_reports_error_code
tests/cli/test_studio_rbac.py::test_system_info_prefetch_hides_get_tool_failures_but_reports_error_code
/Users/bytedance/Projects/veadk-python-worktrees/studio-min-instance/.venv/lib/python3.12/site-packages/tos/auth.py:293: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
return datetime.datetime.utcnow().strftime(DATE_FORMAT)

tests/cli/test_studio_rbac.py: 16 warnings
tests/cli/test_studio_self_update.py: 1 warning
tests/utils/test_volcengine_sign.py: 2 warnings
/Users/bytedance/Projects/veadk-python-worktrees/studio-min-instance/veadk/utils/volcengine_sign.py:372: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
now = datetime.datetime.utcnow()

tests/cloud/test_harness_app_http.py::test_harness_app_exposes_agent_info
/Users/bytedance/Projects/veadk-python-worktrees/studio-min-instance/.venv/lib/python3.12/site-packages/google/adk/runners.py:294: DeprecationWarning: The plugins argument is deprecated. Please use the app argument to provide plugins instead.
warnings.warn(

tests/cloud/test_harness_app_http.py::test_harness_app_exposes_agent_info
/Users/bytedance/Projects/veadk-python-worktrees/studio-min-instance/veadk/cloud/harness_app/app.py:247: DeprecationWarning: AdkWebServer is deprecated and has been refactored into ApiServer and DevServer. Use DevServer instead.
self._server = AdkWebServer(

tests/extensions/harness/sidecar_runtime/test_mcp_client.py::test_managed_client_normalizes_runtime_gateway_session_header
/Users/bytedance/Projects/veadk-python-worktrees/studio-min-instance/tests/extensions/harness/sidecar_runtime/test_mcp_client.py:147: DeprecationWarning: MCPToolset class is deprecated, use McpToolset instead.
toolset = MCPToolset(

tests/extensions/harness/sidecar_runtime/test_mcp_client.py::test_managed_client_normalizes_runtime_gateway_session_header
tests/extensions/harness/sidecar_runtime/test_mcp_client.py::test_managed_client_ignores_proxy_environment_for_loopback
tests/extensions/harness/sidecar_runtime/test_mcp_loopback_proxy.py::test_loopback_relay_preserves_alternate_session_without_env_proxy[/mcp]
tests/extensions/harness/sidecar_runtime/test_mcp_loopback_proxy.py::test_loopback_relay_preserves_alternate_session_without_env_proxy[/vmetrics]
/Users/bytedance/.local/share/uv/python/cpython-3.12-macos-aarch64-none/lib/python3.12/contextlib.py:105: DeprecationWarning: Use streamable_http_client instead.
self.gen = func(*args, **kwds)

tests/extensions/harness/sidecar_runtime/test_mcp_client.py::test_managed_client_normalizes_runtime_gateway_session_header
tests/extensions/harness/sidecar_runtime/test_mcp_client.py::test_managed_client_ignores_proxy_environment_for_loopback
tests/extensions/harness/sidecar_runtime/test_mcp_loopback_proxy.py::test_loopback_relay_preserves_alternate_session_without_env_proxy[/mcp]
tests/extensions/harness/sidecar_runtime/test_mcp_loopback_proxy.py::test_loopback_relay_preserves_alternate_session_without_env_proxy[/vmetrics]
tests/runtime/codex/test_codex_runtime.py::test_tool_executor_supports_stdio_mcp_toolset
tests/runtime/piagent/test_piagent_runtime.py::test_build_executable_tools_calls_real_stdio_mcp_toolset
/Users/bytedance/Projects/veadk-python-worktrees/studio-min-instance/.venv/lib/python3.12/site-packages/google/adk/tools/mcp_tool/mcp_toolset.py:356: DeprecationWarning: MCPTool class is deprecated, use McpTool instead.
mcp_tool = MCPTool(

tests/extensions/harness/sidecar_runtime/test_mcp_client.py::test_managed_client_ignores_proxy_environment_for_loopback
/Users/bytedance/Projects/veadk-python-worktrees/studio-min-instance/tests/extensions/harness/sidecar_runtime/test_mcp_client.py:194: DeprecationWarning: MCPToolset class is deprecated, use McpToolset instead.
toolset = MCPToolset(

tests/extensions/harness/sidecar_runtime/test_mcp_loopback_proxy.py::test_loopback_relay_preserves_alternate_session_without_env_proxy[/mcp]
tests/extensions/harness/sidecar_runtime/test_mcp_loopback_proxy.py::test_loopback_relay_preserves_alternate_session_without_env_proxy[/vmetrics]
/Users/bytedance/Projects/veadk-python-worktrees/studio-min-instance/tests/extensions/harness/sidecar_runtime/test_mcp_loopback_proxy.py:123: DeprecationWarning: MCPToolset class is deprecated, use McpToolset instead.
toolset = MCPToolset(

tests/plugins/test_codex_sandbox_upload.py::test_build_and_restore_preserves_worktree_and_github_auth
/Users/bytedance/Projects/veadk-python-worktrees/studio-min-instance/tests/plugins/test_codex_sandbox_upload.py:106: DeprecationWarning: Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata. Use the filter argument to control this behavior.
archive.extractall(stage)

tests/plugins/test_codex_sandbox_upload.py::test_restore_hides_generated_section_for_tracked_handoff
/Users/bytedance/Projects/veadk-python-worktrees/studio-min-instance/tests/plugins/test_codex_sandbox_upload.py:187: DeprecationWarning: Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata. Use the filter argument to control this behavior.
archive.extractall(stage)

tests/runtime/codex/test_codex_runtime.py::test_authenticated_tool_stores_credential_and_resumes
/Users/bytedance/Projects/veadk-python-worktrees/studio-min-instance/.venv/lib/python3.12/site-packages/google/adk/auth/auth_tool.py:94: DeprecationWarning: This method is deprecated. Use credential_key instead.
self.credential_key = self.get_credential_key()

tests/runtime/codex/test_codex_runtime.py::test_tool_executor_supports_stdio_mcp_toolset
/Users/bytedance/Projects/veadk-python-worktrees/studio-min-instance/tests/runtime/codex/test_codex_runtime.py:855: DeprecationWarning: MCPToolset class is deprecated, use McpToolset instead.
toolset = MCPToolset(

tests/runtime/piagent/test_piagent_runtime.py::test_build_executable_tools_calls_real_stdio_mcp_toolset
/Users/bytedance/Projects/veadk-python-worktrees/studio-min-instance/tests/runtime/piagent/test_piagent_runtime.py:1412: DeprecationWarning: MCPToolset class is deprecated, use McpToolset instead.
toolset = MCPToolset(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
===== 3688 passed, 9 skipped, 2 xfailed, 52 warnings in 420.58s (0:07:00) ====== (3687 passed, 9 skipped, 2 xfailed)\n- Volcengine CLI deploy/update verified: min 0 -> 1, max remains 10, endpoint HTTP 200\n- Volcengine Studio frontend online update verified end to end:\n - removed from the Function role policy and reset min to 0\n - update was blocked before cloud resource changes and displayed the missing permission\n - the prefilled one-click IAM page preserved the existing policy and included the new permission\n - returned HTTP 200\n - retry passed permission precheck and the new Revision took over\n - final resource state: min 1, max 10; Studio endpoint HTTP 200\n- BytePlus resource update verified: min 0 -> 1, max remains 10

@evanlowe

evanlowe commented Sep 7, 2026

Copy link
Copy Markdown
Contributor Author

End-to-end verification completed on Volcengine Studio:\n\n- Reset Function resource to min=0, max=10\n- Removed vefaas:UpdateFunctionResource from the attached custom policy\n- Confirmed the Studio UI blocked the update before cloud resource changes and identified the exact missing permission\n- Confirmed the prefilled IAM authorization page preserved the existing policy and added vefaas:UpdateFunctionResource\n- Executed UpdatePolicy successfully with HTTP 200\n- Clicked “我已授权,重新检查”; permission precheck passed and the online update completed\n- Confirmed the new Revision took over\n- Final Function resource: min=1, max=10\n- Studio endpoint returned HTTP 200

@yaozheng-fang
yaozheng-fang merged commit f5687d4 into volcengine:main Sep 7, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants